﻿#include "metavo.h"


MetaVO::MetaVO(QObject *parent) :QBaseEntity(parent)
{
    clear();
}

MetaVO::MetaVO(const MetaVO &other)
{
    activeIcon = other.activeIcon;
    activePath = other.activePath;
    affixTab = other.affixTab;
    affixTabOrder = other.affixTabOrder;
    badge = other.badge;
    badgeType = other.badgeType;
    badgeVariants = other.badgeVariants;
    hideChildrenInMenu = other.hideChildrenInMenu;
    hideInBreadcrumb = other.hideInBreadcrumb;
    hideInMenu = other.hideInMenu;
    hideInTab = other.hideInTab;
    icon = other.icon;
    iframeSrc = other.iframeSrc;
    ignoreAccess = other.ignoreAccess;
    keepAlive = other.keepAlive;
    link = other.link;
    loaded = other.loaded;
    maxNumOfOpenTab = other.maxNumOfOpenTab;
    noBasicLayout = other.noBasicLayout;
    openInNewWindow = other.openInNewWindow;
    order = other.order;
    query = other.query;
    title = other.title;
}

MetaVO &MetaVO::operator=(const MetaVO &other)
{
    activeIcon = other.activeIcon;
    activePath = other.activePath;
    affixTab = other.affixTab;
    affixTabOrder = other.affixTabOrder;
    badge = other.badge;
    badgeType = other.badgeType;
    badgeVariants = other.badgeVariants;
    hideChildrenInMenu = other.hideChildrenInMenu;
    hideInBreadcrumb = other.hideInBreadcrumb;
    hideInMenu = other.hideInMenu;
    hideInTab = other.hideInTab;
    icon = other.icon;
    iframeSrc = other.iframeSrc;
    ignoreAccess = other.ignoreAccess;
    keepAlive = other.keepAlive;
    link = other.link;
    loaded = other.loaded;
    maxNumOfOpenTab = other.maxNumOfOpenTab;
    noBasicLayout = other.noBasicLayout;
    openInNewWindow = other.openInNewWindow;
    order = other.order;
    query = other.query;
    title = other.title;
    return *this;
}

MetaVO::~MetaVO()
{

}

QString MetaVO::getActiveIcon() const
{
    return activeIcon;
}

void MetaVO::setActiveIcon(const QString &value)
{
    activeIcon = value;
}

QString MetaVO::getActivePath() const
{
    return activePath;
}

void MetaVO::setActivePath(const QString &value)
{
    activePath = value;
}

bool MetaVO::getAffixTab() const
{
    return affixTab;
}

void MetaVO::setAffixTab(bool value)
{
    affixTab = value;
}

int32_t MetaVO::getAffixTabOrder() const
{
    return affixTabOrder;
}

void MetaVO::setAffixTabOrder(const int32_t &value)
{
    affixTabOrder = value;
}

QString MetaVO::getBadge() const
{
    return badge;
}

void MetaVO::setBadge(const QString &value)
{
    badge = value;
}

QString MetaVO::getBadgeType() const
{
    return badgeType;
}

void MetaVO::setBadgeType(const QString &value)
{
    badgeType = value;
}

QString MetaVO::getBadgeVariants() const
{
    return badgeVariants;
}

void MetaVO::setBadgeVariants(const QString &value)
{
    badgeVariants = value;
}

bool MetaVO::getHideChildrenInMenu() const
{
    return hideChildrenInMenu;
}

void MetaVO::setHideChildrenInMenu(bool value)
{
    hideChildrenInMenu = value;
}

bool MetaVO::getHideInBreadcrumb() const
{
    return hideInBreadcrumb;
}

void MetaVO::setHideInBreadcrumb(bool value)
{
    hideInBreadcrumb = value;
}

bool MetaVO::getHideInMenu() const
{
    return hideInMenu;
}

void MetaVO::setHideInMenu(bool value)
{
    hideInMenu = value;
}

bool MetaVO::getHideInTab() const
{
    return hideInTab;
}

void MetaVO::setHideInTab(bool value)
{
    hideInTab = value;
}

QString MetaVO::getIcon() const
{
    return icon;
}

void MetaVO::setIcon(const QString &value)
{
    icon = value;
}

QString MetaVO::getIframeSrc() const
{
    return iframeSrc;
}

void MetaVO::setIframeSrc(const QString &value)
{
    iframeSrc = value;
}

bool MetaVO::getIgnoreAccess() const
{
    return ignoreAccess;
}

void MetaVO::setIgnoreAccess(bool value)
{
    ignoreAccess = value;
}

bool MetaVO::getKeepAlive() const
{
    return keepAlive;
}

void MetaVO::setKeepAlive(bool value)
{
    keepAlive = value;
}

QString MetaVO::getLink() const
{
    return link;
}

void MetaVO::setLink(const QString &value)
{
    link = value;
}

bool MetaVO::getLoaded() const
{
    return loaded;
}

void MetaVO::setLoaded(bool value)
{
    loaded = value;
}

int32_t MetaVO::getMaxNumOfOpenTab() const
{
    return maxNumOfOpenTab;
}

void MetaVO::setMaxNumOfOpenTab(const int32_t &value)
{
    maxNumOfOpenTab = value;
}

bool MetaVO::getNoBasicLayout() const
{
    return noBasicLayout;
}

void MetaVO::setNoBasicLayout(bool value)
{
    noBasicLayout = value;
}

bool MetaVO::getOpenInNewWindow() const
{
    return openInNewWindow;
}

void MetaVO::setOpenInNewWindow(bool value)
{
    openInNewWindow = value;
}

int32_t MetaVO::getOrder() const
{
    return order;
}

void MetaVO::setOrder(const int32_t &value)
{
    order = value;
}

QString MetaVO::getQuery() const
{
    return query;
}

void MetaVO::setQuery(const QString &value)
{
    query = value;
}

QString MetaVO::getTitle() const
{
    return title;
}

void MetaVO::setTitle(const QString &value)
{
    title = value;
}

